import * as cc from "cc";
import { Entity } from "../../../../../Core/Module/Entity/Entity";
import { IAwake } from "../../../../../Core/Module/EventSystem/IAwakeSystem";
import { ILateUpdate } from "../../../../../Core/Module/EventSystem/ILateUpdateSystem";
import { ImplementsInterface } from "../../../../../Decorator/Decorator";
import { Unit } from "../../../../Model/Share/Module/Unit/Unit";

@ImplementsInterface(IAwake)
@ImplementsInterface(ILateUpdate)
export class CameraComponent extends Entity implements IAwake, ILateUpdate {

    public mainCamera: cc.Camera;

    public Unit: Unit;

    public get MainCamera(): cc.Camera {
        return this.mainCamera;
    }

}